<div class="span12">
	<table class="table table-hover">
	<?php if ($this->list[row]):?>
	<tbody>
		<tr>
			<th>编号</th>
			<th>用户名</th>
			<th>注册日期/最后登陆</th>
			<th>发布信息</th>
			<th>操作</th>
		</tr>
	</tbody>
	<?php endif;?>
    <tbody>
    	<tr>
    	<?php if (!$this->list[row]):?>
			<h5 class="text-center">没有用户信息</h5>
		<?php endif;?>

    	</tr>
        <?php foreach ($this->list[row] as $k=>$list):?>

        <tr id="t_<?= $list[id]?>">
        
        	<td class="c">
                <?= $list[uid]?>
            </td>
            
            <td class="cxmc">
                <a href="<?= $this->url(array('controller'=>'home', 'action'=>'space', 'uid'=>$list[uid]))?>" target="_blank"><?= $list[username]?></a>
            </td>

            <td>
				<?= date('Y/m/d', $list[regdate])?>&nbsp;/&nbsp;<?= date('Y/m/d', $list[lastlogindate])?>
            </td>
            <td>
            	<a href="<?= $this->url(array('controller'=>'set', 'action'=>'sale', 'uid'=>$list[uid]))?>">查看该用户发布</a>
            </td>
            <?php if ($list[ban] == 2):?>
            <td>
            	<a href="javascript:reBan(<?= $list[uid]?>);" class="btn btn-small btn-danger">REBAN</a>
            </td>
            <?php else:?>
            <td>
            	<a href="<?= $this->url(array('controller'=>'set', 'action'=>'edituser', 'uid'=>$list[uid]),null,true)?>" class="btn btn-small btn-info">详细</a>
            	<a href="javascript:ban(<?= $list[uid]?>);" class="btn btn-small btn-danger">BAN</a>
            </td>
            <?php endif;?>
        </tr>
        <?php endforeach;?>

    </tbody>

	</table>

	
</div>
        

        
        <div class="pagination pagination-right">
        	<ul>
        	    <?php if ($this->list[mulitpage]):?>
        		    <?= $this->list[mulitpage]?>
        		<?php else:?>
        		    <li>&nbsp;</li>
        		<?php endif;?>
        	</ul>
        </div>